package cn.iocoder.yudao.module.project.controller.admin.kismaterialreceipt.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class MaterialReceiptReportVO {
    @Schema(description = "入库时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("入库时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone = "GMT+8")
    private Date receiptTime;

    @Schema(description = "批次码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("批次码")
    private String batchCode;

    @Schema(description = "收料仓库", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("收料仓库")
    private String warehouse;

    @Schema(description = "物料长代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("物料长代码")
    private String materialCode;

    @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("物料名称")
    private String materialName;

    @Schema(description = "规格型号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规格型号")
    private String specification;

    @Schema(description = "应收数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应收数量")
    private Double receivableNum;

    @Schema(description = "实收数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("实收数量")
    private Double actualNum;

    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "源单单号")
    @ExcelProperty("源单单号")
    private String materialNumber;

    @Schema(description = "源单类型", example = "1")
    @ExcelProperty("源单类型")
    private String materialType;

    @Schema(description = "部门", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("部门")
    private String dept;

    @Schema(description = "业务员", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("业务员")
    private String operator;

    @Schema(description = "供应商编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "28476")
    @ExcelProperty("供应商编码")
    private String supplierId;

    @Schema(description = "供应商名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("供应商名称")
    private String supplierName;

}
